cd ./work

rm -rf vga_ctrl*.*

xst -intstyle xflow -ifn "../vga_ctrl.xst" -ofn "./vga_ctrl.syr" | tee vga_ctrl_xst.log

ngdbuild -intstyle xflow -dd work -nt timestamp -p xc6vlx240t-1-ff1156 "vga_ctrl.ngc" vga_ctrl.ngd #-uc ../vga_ctrl.ucf 

map -intstyle xflow -p xc6vlx240t-1-ff1156 -timing -logic_opt on -ol high -xe n -t 1 -register_duplication -ignore_keep_hierarchy -pr b -power off -o vga_ctrl.ncd vga_ctrl.ngd vga_ctrl.pcf

par -w -intstyle xflow -ol high vga_ctrl.ncd vga_ctrl.ncd vga_ctrl.pcf 

bitgen -intstyle xflow vga_ctrl.ncd

trce -intstyle xflow -v 5 -xml vga_ctrl vga_ctrl.ncd -o vga_ctrl.twr vga_ctrl.pcf #-ucf ../vga_ctrl.ucf

netgen -intstyle xflow -insert_glbl true -w -dir netgen/synthesis -ofmt verilog -sim vga_ctrl.ngc vga_ctrl_synth.v

cd ..

